
<div class="top-bar">
    <h1><?php echo $info; ?></h1>
	<div class="breadcrumbs">
        <a href="#">Trang chủ</a> / <a href="#">Quản lý thông báo</a>/ <a href="#">Xem thông báo</a>
    </div>   
</div>
    <?php    
        $id = "";
        $tieude = "";
        $noidungbaiviet = "";  
         if(isset($baiviet))
        {
            $id = $baiviet[0]['id'];
            $tieude = $baiviet[0]['tenthongbao'];
            $noidungbaiviet = $baiviet[0]['noidungthongbao'];       
        }
         echo "<input type='hidden' id='idThongBao' value='". $id ."'/>"; 
    ?>        
    <div class="table">
    <img src="<?php echo base_url('assets/imgs/admin/bg-th-left.gif') ?>" width="8" height="7" alt="" class="left" />
				<img src="<?php echo base_url('assets/imgs/admin/bg-th-right.gif')?>" width="7" height="7" alt="" class="right" />
        
        <form method="post" id="frm">
            <table class="listing form" cellpadding="0" cellspacing="0">
			<tr>
				<th class="full" colspan="2"></th>
			</tr>
			<tr>
				<td class="first" width="172"><strong>Tiêu đề (*)</strong></td>
				<td class="last"><input type="text" id="tieude" name="tieude" class="text" value="<?php echo $tieude; ?>" /></td>
			</tr>				
		</table>
            <textarea name="editor" id="editor" rows="20" cols="80"><?php echo $noidungbaiviet; ?></textarea>
            <script>                
                CKEDITOR.replace('editor', {
                	language: 'vi'
                });
                
            </script>                        
             <button id="btnUpdateThongBao">
                    <img src="<?php echo base_url('assets/imgs/admin/edit-icon.gif') ?>"/>
                    <label style="vertical-align: top;">Cập nhật</label>
             </button> 
             <button id="btnDelete" onclick="">
                    <img src="<?php echo base_url('assets/imgs/admin/hr.gif') ?>"/>
                    <label style="vertical-align: top;">Xóa bài viết</label>
             </button> 
        </form>
</div>